﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="School._Default" EnableViewState="false" %>
<%@ OutputCache Duration="60" VaryByParam="none" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>宁波工程学院-经济与管理学院</title>
    <link href="CSS/main.css" rel="stylesheet" type="text/css" />
    <link href="CSS/kandytabs.css" rel="stylesheet" type="text/css" />
    <link href="CSS/main_tabs.css" rel="stylesheet" type="text/css" />
    <script src="JS/Common.js" type="text/javascript"></script>
    <script src="JS/jquery-1.6.1.min.js" type="text/javascript"></script>
    <script src="JS/kandytabs.pack.js" type="text/javascript"></script>
    <script src="JS/newsSwitch.js" type="text/javascript"></script>
    <script src="JS/jquery.flash.js" type="text/javascript"></script>
    <script src="JS/Xslider.js" type="text/javascript"></script>

<!--[if IE 6]>
 <script src="JS/DD_belatedPNG.js" type="text/javascript"></script>
 <script type="text/javascript">
    DD_belatedPNG.fix('#school_navigate');
    DD_belatedPNG.fix('#xyxw_list li');
    DD_belatedPNG.fix('.workList li a');
    DD_belatedPNG.fix('.workmore');
 </script>
<![endif]-->
   
    <script type="text/javascript">
        //获取浏览器
        var browser = getBrowser();

        $(document).ready(function() {
            //经管文化左边tab切换
            $("#rollleft").KandyTabs(
            {
                action: "roll",
                trigger: "mouseup",
                direct: "left"
            });

            //banner上的Flash
            $('#title_flash').flash({ src: 'Flash/login_bg.swf', width: 300, height: 92, wmode: 'transparent', allowFullScreen: 'false' });
            $('#title_flash2').flash({ src: 'Flash/swf.swf', width: 200, height: 92, wmode: 'transparent', allowFullScreen: 'false' });


            //显示子菜单项
            var showSubMenuInterval = 500;
            var hideSubMenuInterval = 1000;
            var showTimeoutID = null;
            var hideTimeoutID = null;
            var currentMenu = null;
            var menuRightPosition = $("#menu").position().left + $("#menu").width();

            $(".menu_item").mouseover(function() {
                if (hideTimeoutID != null) {
                    clearInterval(hideTimeoutID);
                    hideTimeoutID = null;
                }
                HideSubMenu();

                currentMenu = $(this);
                showTimeoutID = setTimeout(ShowSubMenu, showSubMenuInterval);

            }).mouseout(function() {
                if (showTimeoutID != null) {
                    clearInterval(showTimeoutID);
                    showTimeoutID = null;
                }
                hideTimeoutID = setTimeout(HideSubMenu, hideSubMenuInterval);
            });

            $(".menu_item ul").each(function() {
                $(this).mouseover(function(e) {
                    if (hideTimeoutID != null) {
                        clearInterval(hideTimeoutID);
                        hideTimeoutID = null;
                    }

                    return false;
                });
            });

            function ShowSubMenu() {
                var subMenuLeftPosition = currentMenu.position().left;
                var subMenuWidth = currentMenu.find("ul").width();
                var subMenuRigthPosition = subMenuLeftPosition + subMenuWidth;
                if (subMenuRigthPosition > menuRightPosition) {
                    subMenuLeftPosition = subMenuLeftPosition - (subMenuRigthPosition - menuRightPosition) - 17 * 3;
                }
                currentMenu.find("ul").addClass("sub_menu_list_block").css("left", subMenuLeftPosition);

                //设置下级菜单总宽度
                if (browser[0] == "ie" && browser[1] == "6.0") {
                    var subMenuTotalWidth = 0;
                    currentMenu.find("ul").children().each(function() {
                        subMenuTotalWidth += $(this).width() + 20;
                    });

                    currentMenu.find("ul").width(subMenuTotalWidth);
                }
            }

            function HideSubMenu() {
                if (currentMenu != null) {
                    currentMenu.find("ul").removeClass("sub_menu_list_block");
                }
            }



            //公告消息滚动
//            function testMove() {
//                $("#gonggao ul").animate({ marginTop: "-=23" }, 500, function() {
//                    $(this).css({ marginTop: "0px" }).find("li:first").appendTo(this)
//                })
//            }

            //setInterval(testMove, 2000);
            //$("#gonggao ul li:odd").addClass("event");



            //新闻图片切换
            innerSwitch("news_container");
            autoSwitch();


            //底部图片轮播
            //两秒后调用
            var _scrolling = setInterval("AutoScroll()", 2000);
            $("#slide>ul").hover(function() {
                //鼠标移动DIV上停止
                clearInterval(_scrolling);
            }, function() {
                //离开继续调用
                _scrolling = setInterval("AutoScroll()", 2000);
            });
            
            
            //
            jQuery("#gonggaoWraper").Xslider({//.productshow是要移动对象的外框;
                unitdisplayed: 3, //可视的单位个数 必需项;
                numtoMove: 1, //要移动的单位个数 必需项;
                loop: "cycle",
                autoscroll: 3000,
                dir: "V"//水平移动还是垂直移动，默认H为水平移动，传入V则表示垂直移动;
            }); 

        });

        //底部轮播图片
        function AutoScroll() {
            var _scroll = $("#slide>ul");
            //ul往左边移动300px
            _scroll.animate({ marginLeft: "-150px" }, 1000, function() {
                //把第一个li丢最后面去
                _scroll.css({ marginLeft: 0 }).find("li:first").appendTo(_scroll);
            });
        }
        
        //搜索框验证
        function check() {
            var searchValue = document.getElementById("search_box").value;
            if (searchValue.Trim() == "" || searchValue.length == 0) {
                alert("请输入要搜索的相关关键字!");
                return false;
            }
            return true;
        }    
    </script>

</head>
<body>
    <form id="form1" runat="server" defaultbutton="btnSearch">
    <div id="container">
        <div id="logo1">
            <a class="float_left" id="logoDIV" href="/Index"></a>
            <div id="title_flash" class="float_left"></div>
            <div id="title_flash2" class="float_right"></div>
            <div class="clear"></div>
        </div>
        <div id="menu">
            <div id="m_top"></div>
            <div id="m_middle">
                <ul id="menu_list">
                    <li class="menu_item"><a href="/Index">学院首页</a>
                        <ul class="sub_menu_list_none">
                            <li>欢迎访问宁波工程学院经济与管理学院网站</li>
                        </ul>
                    </li>
                    <li class="menu_sep"></li>
                    <li class="menu_item"><a href="#">学院概况</a>
                        <ul class="sub_menu_list_none">
                            <li><a href="/School/Introduce">学院简介</a></li>
                            <li><a href="/Teacher/Leaders">学院领导</a></li>
                            <li><a href="/Teacher/ExLeader">历任领导</a></li>
                        </ul>
                    </li>
                    <li class="menu_sep"></li>
                    <li class="menu_item"><a href="#">教学工作</a>
                        <ul class="sub_menu_list_none">
                            <li><a href="/Teaching/Major">专业设置</a></li>
                            <li><a href="/Teaching/Research">教学研究</a></li>                          
                            <li><a href="/Teaching/Course">课程建设</a></li>
                        </ul>
                    </li>
                    <li class="menu_sep"></li>
                    <li class="menu_item"><a href="#">学术科研</a>
                        <ul class="sub_menu_list_none">
                            <li><a href="/Teaching/SubjectBuild">学科建设</a></li>
                            <li><a href="/Research/Activity">科研动态</a></li>
                            <li><a href="/Research/Platform">科研平台</a></li>
                            <li><a href="/Research/Result">科研成果</a></li>
                            <li><a href="/Research/Center">实验中心</a></li>                            
                        </ul>
                    </li>
                    <li class="menu_sep"></li>
                    <li class="menu_item"><a href="/Teacher/Teachers">师资队伍</a>
                    </li>
                    <li class="menu_sep"></li>
                    <li class="menu_item"><a href="#">党建工作</a>
                        <ul class="sub_menu_list_none">
                            <li><a href="/Party/Structure">组织架构</a></li>
                            <li><a href="/Party/Institution">制度建设</a></li>
                            <li><a href="/Party/Branch">支部风采</a></li>
                            <li><a href="/Party/Placard">公示公告</a></li>
                        </ul>
                    </li>
                    <li class="menu_sep"></li>
                    <li class="menu_item"><a href="#">中外合作</a>
                        <ul class="sub_menu_list_none">
                            <li><a href="/Cooperation/Undergraduate">本科生项目</a></li>
                            <li><a href="/Cooperation/Graduate">研究生项目</a></li>
                        </ul>
                    </li>
                    <li class="menu_sep"></li>
                    <li class="menu_item"><a href="#">学生工作</a>
                        <ul class="sub_menu_list_none">
                            <li><a href="/StudentWorking/LeagueWorking">团学工作</a></li>
                            <li><a href="/StudentWorking/SecondClass">第二课堂</a></li>
                        </ul>
                    </li>                   
                    <li class="menu_sep"></li>
                    <li class="menu_item"><a href="#">下载中心</a>
                        <ul class="sub_menu_list_none">
                            <li><a href="/Download/TeacherWorkingInfo">教务信息</a></li>
                            <li><a href="/Download/StudentWorkingInfo">学工信息</a></li>
                            <li><a href="/Download/Resource">学习资源</a></li>
                        </ul>
                    </li>
                    <li class="menu_sep"></li>
                    <li class="menu_item"><a href="#">学院动态</a>
                        <ul class="sub_menu_list_none">
                            <li><a href="/CollegeActivity/News">学院新闻</a></li>
                            <li><a href="/CollegeActivity/Announcement">通知公告</a></li>
                        </ul>
                    </li>
                </ul>
                <div class="clear"></div>
            </div>
            <div id="m_bottom"></div>
        </div>
        <div id="sub_menu"></div>
        <div id="main_left" class="float_left">           
            <div id="gg_container">
                <div id="gg_title" class="middle_title">
                    <div class="float_left">公告</div>
                    <div class="title_more float_right"><a href="/CollegeActivity/Announcement">更多</a></div>
                    <div class="clear"></div>
                </div>
                <div id="gonggaoWraper">
                    <div id="gonggao">
                      <ul class="articleLink">
                          <asp:Repeater ID="rep_tzgg" runat="server">
                                <ItemTemplate>
                                    <li>
                                        [<%#Eval("UpdateTime", "{0:yyyy-MM-dd}")%>]&nbsp;&nbsp;<a href='/Article/Module-<%#Eval("ParentCategory") %>-Category-<%#Eval("Categories") %>-Item-<%#Eval("ArticleID") %>' target="_blank" title='<%#Eval("Title") %>'><%#Eval("Title")%></a>                                       
                                    </li>
                                </ItemTemplate>                       
                            </asp:Repeater>
                      </ul>
                    </div>
                    <a href="#right" class="abtn aright"></a>
                    &nbsp;&nbsp;&nbsp;
                    <a href="#left" class="abtn aleft"></a>                      
                </div>
            </div>
            <div id="jgwh">
                <div id="jgwh_title" class="middle_title">经管文化</div>
                <dl id="rollleft">
                    <asp:Repeater ID="rep_culture" runat="server" 
                        onitemdatabound="rep_culture_ItemDataBound">
                        <ItemTemplate>
                            <dt><%#Eval("Name") %></dt>
                                <dd>
                                    <ul class="cultureItem link_1 itemlist_1">
                                    <asp:Repeater ID="rep_CultureItem" runat="server">
                                        <ItemTemplate>
                                            <li><a href='/Article/Module-<%#Eval("ParentCategory") %>-Category-<%#Eval("Categories") %>-Item-<%#Eval("ArticleID") %>' target="_blank" title='<%#Eval("Title") %>'><%# Entity.CommonString.MySubString(Eval("Title").ToString(),15)%></a></li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                    </ul>
                                    <div class="float_right culture_more_text morelink"><a href='WebPages/List.aspx?parentCategory=39&categories=<%#Eval("Categories") %>'>更多</a></div>
                                </dd>
                        </ItemTemplate>                        
                    </asp:Repeater>
                </dl>
            </div>
            <div id="school_navigate">
                <table id="innerlinkList" cellspacing="0" class="link_4">
                    <tr>
                        <td><a href="http://www.nbut.cn/index.html" target="_blank">学校主页</a></td>
                        <td><a href="http://10.23.4.77/" target="_blank">OA</a></td>
                    </tr>
                    <tr>
                        <td><a href="http://jwc.nbut.cn/Index.asp" target="_blank">教务处</a></td>
                        <td><a href="http://kjc.nbut.cn/" target="_blank">科技处</a></td>
                    </tr>
                    <tr>
                        <td><a href="http://xsc.nbut.cn/" target="_blank">学生处</a></td>
                        <td><a href="http://news.nbut.cn/" target="_blank">宣传部</a></td>
                    </tr>
                    <tr>
                        <td><a href="http://jwxt.nbut.cn/(mbcgxf55tj1014yg2e4t4uvp)/Default2.aspx" target="_blank">教务管理</a></td>
                        <td><a href="http://nbut.zj.nclass.org/sc8/" target="_blank">天空教室</a></td>
                    </tr>
                </table>
            </div>
            <div id="search_div">
                <div id="search_con">
                    <div class="search_box_container">
                        <span class="float_left" id="search_text">站内搜索</span>
                        <div id="search_txtbox" class="float_left">
                            <asp:TextBox ID="search_box" runat="server"></asp:TextBox>
                        </div>
                        <div id="btnSearch_con" class="float_left">
                            <asp:Button ID="btnSearch" runat="server" Text="" onclick="btnSearch_Click" OnClientClick="return check();" />
                        </div>
                        <div class="clear" ></div>
                    </div>
                    <asp:RadioButtonList ID="rbtn_FindItem" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True" Value="0">文章</asp:ListItem>
                        <asp:ListItem Value="1">资源</asp:ListItem>
                        <asp:ListItem Value="2">教师</asp:ListItem>
                    </asp:RadioButtonList>                                     
                </div>
            </div>
            <div id="adv">
                <asp:Repeater ID="rep_ads" runat="server" 
                    onitemdatabound="rep_ads_ItemDataBound">
                    <ItemTemplate>
                        <div class="adItem">
                            <asp:HyperLink ID="hl" runat="server" Target="_blank">
                                <img src='<%#Eval("ImgPath") %>' / >
                            </asp:HyperLink>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
        </div>
        <div id="main_right" class="float_right">
            <div id="xyxw" class="content_right_container">
                <div id="xyxw_title" class="middle_title">新闻动态</div>
                <div>
                    <div id="news_container" class="container" style="float:left;">
		                <span class="info"></span>
                        <asp:Repeater ID="rep_xyxwImg" runat="server">
                            <ItemTemplate>
                                <a href='/Article/Module-<%#Eval("ParentCategory") %>-Category-<%#Eval("Categories") %>-Item-<%#Eval("ArticleID") %>' target="_blank"><img alt='<%#Eval("Title") %>' src='<%#Eval("ImagePath") %>' border="0" /></a>
                            </ItemTemplate>                           
                        </asp:Repeater>
		                <div class="control float_right"></div>
		                <div class="clear"></div>
                    </div>
                    <ul id="xyxw_list" class="float_left articleLink">
                        <asp:Repeater ID="rep_xyxw" runat="server">
                            <ItemTemplate>
                                <li>
                                    <span>[<%#Eval("UpdateTime", "{0:yyyy-MM-dd}")%>]</span>
                                    <a href='/Article/Module-<%#Eval("ParentCategory") %>-Category-<%#Eval("Categories") %>-Item-<%#Eval("ArticleID") %>' target="_blank"><%#Eval("Title")%></a>
                                    
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                    <div class="float_right xydt_more_text morelink"><a href='/CollegeActivity/News'>更多</a></div>
                    <div class="clear"></div>
                </div>
            </div>
            <div id="zyjs" class="content_right_container">
                <div id="zyjs_title" class="middle_title">院内工作</div>
                <div id="zyjs_container">
                    <div>
                        <div class="float_left zyjs_item" id="item_lefttop">
                            <div class="zyjs_img float_left"><img src="Images/gjsw.jpg" alt="教学工作" /></div>
                            <div class="zyjs_text">
                                <div class="zy_name">
                                    <span>教学工作</span>
                                    <a href='/Teaching/Research' class="workmore">更多</a></div>
                                <ul class="workList link_2">
                                    <asp:Repeater ID="rep_jxgz" runat="server">
                                        <ItemTemplate>
                                            <li><a href='/Article/Module-<%#Eval("ParentCategory") %>-Category-<%#Eval("Categories") %>-Item-<%#Eval("ArticleID") %>' target="_blank"><%#Eval("Title") %></a></li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </ul>
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="float_left zyjs_item" id="item_righttop">
                            <div class="zyjs_img float_left"><img src="Images/kj.jpg" alt="科研工作" /></div>
                            <div class="zyjs_text">
                                <div class="zy_name">
                                    <span>科研工作</span>
                                    <a href='/Research/Activity' class="workmore">更多</a></div>
                                <ul class="workList link_2">
                                    <asp:Repeater ID="rep_kygz" runat="server">
                                        <ItemTemplate>
                                            <li><a href='/Research/Activity/Module-<%#Eval("ParentCategory") %>-Category-<%#Eval("Categories") %>-Item-<%#Eval("ArticleID") %>' target="_blank"><%#Entity.CommonString.MySubString(Eval("Content").ToString(),20) %></a></li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </ul>
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div>
                        <div class="float_left zyjs_item" id="item_leftbottom">
                            <div class="zyjs_img float_left"><img src="Images/scyx.jpg" alt="学生工作" /></div>
                            <div class="zyjs_text">
                                <div class="zy_name">
                                    <span>学生工作</span>
                                    <a href='/StudentWorking/LeagueWorking' class="workmore">更多</a>
                                </div>
                                <ul class="workList link_2">
                                    <asp:Repeater ID="rep_xsgz" runat="server">
                                        <ItemTemplate>
                                            <li><a href='/Article/Module-<%#Eval("ParentCategory") %>-Category-<%#Eval("Categories") %>-Item-<%#Eval("ArticleID") %>' target="_blank"><%#Eval("Title") %></a></li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </ul>
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="float_left zyjs_item" id="item_rightbottom">
                            <div class="zyjs_img float_left"><img src="Images/gjmy.jpg" alt="党建工作" /></div>
                            <div class="zyjs_text">
                                <div class="zy_name">
                                    <span>党建工作</span>
                                    <a href='/Party/Institution' class="workmore">更多</a></div>
                                <ul class="workList link_2">
                                    <asp:Repeater ID="rep_djgz" runat="server">
                                        <ItemTemplate>
                                            <li><a href='/Article/Module-<%#Eval("ParentCategory") %>-Category-<%#Eval("Categories") %>-Item-<%#Eval("ArticleID") %>' target="_blank"><%#Eval("Title") %></a></li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </ul>
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
            <div id="slide">
	            <ul>
                    <asp:Repeater ID="rep_playImgs" runat="server">
                        <ItemTemplate>
                            <li><a href='<%#Eval("url") %>' target="_blank"><img src='<%#Eval("ImgPath") %>' /></a></li>
                        </ItemTemplate>
                    </asp:Repeater>
	            </ul>
	            <div class="clear"></div>
            </div>
        </div>
        <div class="clear"></div>
        <div id="bottom_sep"></div>
        <div id="foot">
            <div id="copyright" class="float_left">
                <span>CopyRights (C) 版权所有</span><span id="right_owner">宁波工程学院经济管理学院</span><br />
                <span>院办电话：0574-87616107</span><span id="fax">传真：0574-87616106</span>             
            </div>
            <div id="navigate" class="float_right">
                <ul>
                    <li><a href="http://lib.nbut.cn/" target="_blank">图书馆</a></li>
                    <li class="navigate_sep"></li>
                    <li><a href="http://newave.nbut.cn/" target="_blank">新浪潮</a></li>
                    <li class="navigate_sep"></li>
                    <li><a href="http://www.nbut.org.cn/" target="_blank">校友网</a></li>
                    <li class="navigate_sep"></li>
                    <li><a href="http://www.emkt.com.cn/" target="_blank">中国营销传播网</a></li>
                    <li class="navigate_sep"></li>
                    <li><a href="http://www.canet.com.cn/" target="_blank">中国会计网</a></li>
                    <li class="navigate_sep"></li>
                    <li><a href="/WebMap" target="_blank">本站地图</a></li>
                </ul>
            </div>
            <div class="clear"></div>
            <div class="webcount">网站总访问量：<span><%=Application["total"].ToString() %></span></div>
        </div>   
    </div>
    </form>
</body>
</html>